
#include<iostream>
#include<unistd.h>
#include<signal.h>

int main(int argc,char*argv[])
{
    if(argc < 3)
    {
        std::cerr << "Usage: " << argv[0] << " -signumber pid" << std::endl;
        return 1;
    }
    int signo = std::stoi(argv[1]);
    int pid = std::stoi(argv[2]);
    kill(pid,signo);
    return 0;
}